import requests

url = "https://fanyi.baidu.com/sug"

s = input("请输入一个要翻译的英文单词：")
dat = {
    "kw": s
}

response = requests.post(url, data=dat)
print(response.json())
